package com.swak.reactivex.p2p;

import com.swak.exception.RemotingException;
import com.swak.reactivex.transport.ChannelHandler;
import com.swak.registry.URL;

/**
 * 基于组播
 * 
 * @author 618lf
 */
@Deprecated
public interface Group {

	URL getUrl();

	Peer join(URL url, ChannelHandler handler) throws RemotingException;

	void leave(URL url) throws RemotingException;

	void close();
}